/**
 * The MIT License (MIT)
 * 
 * Copyright (c) 2016 mo_yq5 (mo_yq5@163.com)
 * 
 * Permission is hereby granted, free of charge, to any person obtaining a copy of
 * this software and associated documentation files (the "Software"), to deal in
 * the Software without restriction, including without limitation the rights to
 * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
 * the Software, and to permit persons to whom the Software is furnished to do so,
 * subject to the following conditions:
 * 
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 */
package com.openapi.alipay.trade.fastpay.refund.query;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.openapi.alipay.AlipayResponse;

/**
 * 统一收单交易退款查询－响应参数
 * @author Moyq5
 * @since 2016年8月7日
 */
public class AlipayTradeFastpayRefundQueryResponse extends AlipayResponse {

	/**
	 * 支付宝交易号<br>
	 * 最长64，如：2014112611001004680073956707
	 */
	@JsonProperty("trade_no")
	private String tradeNo;
	
	/**
	 * 创建交易传入的商户订单号<br>
	 * 最长64，如：20150320010101001
	 */
	@JsonProperty("out_trade_no")
	private String outTradeNo;
	
	/**
	 * 本笔退款对应的退款请求号<br>
	 * 最长64，如：20150320010101001
	 */
	@JsonProperty("out_request_no")
	private String outRequestNo;
	
	/**
	 * 发起退款时，传入的退款原因<br>
	 * 最长256，如：用户退款请求
	 */
	@JsonProperty("refund_reason")
	private String refundReason;
	
	/**
	 * 该笔退款所对应的交易的订单金额<br>
	 * 最长11，如：100.20
	 */
	@JsonProperty("total_amount")
	private Float totalAmount;
	
	/**
	 * 本次退款请求，对应的退款金额<br>
	 * 最长11，如：12.33
	 */
	@JsonProperty("refund_amount")
	private Float refundAmount;

	/**
	 * @return the tradeNo
	 */
	public String getTradeNo() {
		return tradeNo;
	}

	/**
	 * @param tradeNo the tradeNo to set
	 */
	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}

	/**
	 * @return the outTradeNo
	 */
	public String getOutTradeNo() {
		return outTradeNo;
	}

	/**
	 * @param outTradeNo the outTradeNo to set
	 */
	public void setOutTradeNo(String outTradeNo) {
		this.outTradeNo = outTradeNo;
	}

	/**
	 * @return the outRequestNo
	 */
	public String getOutRequestNo() {
		return outRequestNo;
	}

	/**
	 * @param outRequestNo the outRequestNo to set
	 */
	public void setOutRequestNo(String outRequestNo) {
		this.outRequestNo = outRequestNo;
	}

	/**
	 * @return the refundReason
	 */
	public String getRefundReason() {
		return refundReason;
	}

	/**
	 * @param refundReason the refundReason to set
	 */
	public void setRefundReason(String refundReason) {
		this.refundReason = refundReason;
	}

	/**
	 * @return the totalAmount
	 */
	public Float getTotalAmount() {
		return totalAmount;
	}

	/**
	 * @param totalAmount the totalAmount to set
	 */
	public void setTotalAmount(Float totalAmount) {
		this.totalAmount = totalAmount;
	}

	/**
	 * @return the refundAmount
	 */
	public Float getRefundAmount() {
		return refundAmount;
	}

	/**
	 * @param refundAmount the refundAmount to set
	 */
	public void setRefundAmount(Float refundAmount) {
		this.refundAmount = refundAmount;
	}
}
